<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<meta name="decorator" content="sysDefault"/>
</head>
<body>
	<div class="container-fluid">
		<div class="row">
			<div class="col-xs-12">
				<div class="panel panel-default">
				  <div class="panel-heading">
				    <h3 class="panel-title">
				    	数据信息
						<a class="btn btn-default btn-sm pull-right" role="button" href="javascript:void(0)" onclick="history.go(-1)">返回</a>
				    </h3>
				  </div>
				  	<tags:message content="${message}" />
				  	<table class="table table-bordered">
					  <tbody>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>ID_:</strong></td>
					  		<td>
								${sale.id}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>销售流水号:</strong></td>
					  		<td>
								${sale.saleNo}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>单机流水号:</strong></td>
					  		<td>
								${sale.salenoOffline}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>销售来源(单机销售、pos机销售、PAD销售:</strong></td>
					  		<td>
								${sale.saleMac}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>销售渠道(门店销售、批发销售、网络销售:</strong></td>
					  		<td>
								${sale.saleChannel}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>销售单类型(销售、退货:</strong></td>
					  		<td>
								${sale.saletype}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>原销售单号(退货记录原销售单号:</strong></td>
					  		<td>
								${sale.salenoSource}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>销售分店:</strong></td>
					  		<td>
								${sale.shopId}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>POS机号:</strong></td>
					  		<td>
								${sale.terminalId}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>收银员:</strong></td>
					  		<td>
								${sale.casherId}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>收银时间:</strong></td>
					  		<td>
								<fmt:formatDate value="${sale.opDate}" pattern="yyyy-MM-dd HH:mm:ss" />
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>顾客ID:</strong></td>
					  		<td>
								${sale.custId}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>应收金额:</strong></td>
					  		<td>
								${sale.oweAmount}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>实收金额:</strong></td>
					  		<td>
								${sale.paidAmount}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>抹零金额(可能明细或整单抹零（四舍五入）:</strong></td>
					  		<td>
								${sale.reduceAmount}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>折让金额(销售单明细的折让合计:</strong></td>
					  		<td>
								${sale.discAmount}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>赠送金额(销售单明细的赠送合计:</strong></td>
					  		<td>
								${sale.giveAmount}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>税金合计:</strong></td>
					  		<td>
								${sale.taxAmount}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>消费税合计:</strong></td>
					  		<td>
								${sale.saleTaxAmount}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>会员卡号:</strong></td>
					  		<td>
								${sale.vipNo}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>积分额:</strong></td>
					  		<td>
								${sale.integalAmount}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>期初积分:</strong></td>
					  		<td>
								${sale.integalAmountBegin}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>上传标志:</strong></td>
					  		<td>
								${sale.uploadFlag}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>上传时间:</strong></td>
					  		<td>
								<fmt:formatDate value="${sale.uploadTime}" pattern="yyyy-MM-dd HH:mm:ss" />
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>预售单号:</strong></td>
					  		<td>
								${sale.preSaleNo}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>是否涉及到送券、送礼等活动:</strong></td>
					  		<td>
								${sale.couponFlag}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>销售单状态(0表示未生成1表示已经生成）:</strong></td>
					  		<td>
								${sale.billState}
							</td>
					  	</tr>
					  </tbody>
					</table>
				  <div class="panel-footer"></div>
				</div>			
			</div>
		</div>
	</div>
</body>
</html>